﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Module
{
    /// <summary>
    /// 用户属性
    /// </summary>
    [Serializable]
    public class UserProfileInfo
    {

        #region Model
        private long _userpassportid;
        private string _userimage;
        private string _email;
        private string _mobile;
        private string _idcardnum;
        private string _idcardimg;
        private string _nickname;
        private int _usertype;
        private int _gender;
        private int _isfamous;
        private DateTime _birthday;
        private int _education;
        private int _provinceid;
        private int _cityid;
        private int _villageid;
        private string _adress;
        private int _personalincome;
        private int _familyincome;
        private string _credit;
        private string _dedication;
        private DateTime _lastupdate;
        private DateTime _datecreated;
        private int _iDCardValidate;

        private string _realName;

        private UserPassportInfo _userLoginInfo;
       
        /// <summary>
        /// 用户系统Id
        /// </summary>
        public long UserPassportId
        {
            set { _userpassportid = value; }
            get { return _userpassportid; }
        }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string UserImage
        {
            set { _userimage = value; }
            get { return _userimage; }
        }
        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string IDCardNum
        {
            set { _idcardnum = value; }
            get { return _idcardnum; }
        }
        /// <summary>
        /// 证件照
        /// </summary>
        public string IDCardImg
        {
            set { _idcardimg = value; }
            get { return _idcardimg; }
        }
        /// <summary>
        /// 证件是否验证
        /// </summary>
        public int IDCardValidate
        {
            set { _iDCardValidate = value; }
            get { return _iDCardValidate; }
        }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName
        {
            set { _nickname = value; }
            get { return _nickname; }
        }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName
        {
            set { _realName = value; }
            get { return _realName; }
        }
        /// <summary>
        /// 用户类型
        /// </summary>
        public int UserType
        {
            set { _usertype = value; }
            get { return _usertype; }
        }
        /// <summary>
        /// 性别
        /// </summary>
        public int Gender
        {
            set { _gender = value; }
            get { return _gender; }
        }
        /// <summary>
        /// 是否明星会员
        /// </summary>
        public int IsFamous
        {
            set { _isfamous = value; }
            get { return _isfamous; }
        }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime Birthday
        {
            set { _birthday = value; }
            get { return _birthday; }
        }
        /// <summary>
        /// 学历
        /// </summary>
        public int Education
        {
            set { _education = value; }
            get { return _education; }
        }
        /// <summary>
        /// 省
        /// </summary>
        public int ProvinceId
        {
            set { _provinceid = value; }
            get { return _provinceid; }
        }
        /// <summary>
        /// 市
        /// </summary>
        public int CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 县区
        /// </summary>
        public int VillageId
        {
            set { _villageid = value; }
            get { return _villageid; }
        }
        /// <summary>
        /// 地址
        /// </summary>
        public string Adress
        {
            set { _adress = value; }
            get { return _adress; }
        }
        /// <summary>
        /// 个人月收入
        /// </summary>
        public int PersonalInCome
        {
            set { _personalincome = value; }
            get { return _personalincome; }
        }
        /// <summary>
        /// 家庭月收入
        /// </summary>
        public int FamilyInCome
        {
            set { _familyincome = value; }
            get { return _familyincome; }
        }
        /// <summary>
        /// 信用等级
        /// </summary>
        public string Credit
        {
            set { _credit = value; }
            get { return _credit; }
        }
        /// <summary>
        /// 奉献等级
        /// </summary>
        public string Dedication
        {
            set { _dedication = value; }
            get { return _dedication; }
        }
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime LastUpdate
        {
            set { _lastupdate = value; }
            get { return _lastupdate; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime DateCreated
        {
            set { _datecreated = value; }
            get { return _datecreated; }
        }

        private string _bak1;
        private string _bak2;
        private string _bak3;
        /// <summary>
        /// 
        /// </summary>
        public string Bak1
        {
            set { _bak1 = value; }
            get { return _bak1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Bak2
        {
            set { _bak2 = value; }
            get { return _bak2; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Bak3
        {
            set { _bak3 = value; }
            get { return _bak3; }
        }
        /// <summary>
        /// 
        /// </summary>
        public UserPassportInfo UserLoginInfo
        {
            set { _userLoginInfo = value; }
            get { return _userLoginInfo; }
        }
        #endregion Model
    }
}
